# example batch file
# set parameters for data simulation
sset sampleSize=200;
sset numLoci=2;
sset numPoplns=4;
sset simfile=testdata.out;
sset fst=0.10;
sset avgMigration=0.0.05;
# simulate some data
simulate;
# load simulated data into BA2
scan -FS testdata.out;
# set number of replicates for MCMC analysis 
pset MCMCreps=25000;
# set length of burnin period for MCMC
pset MCMCburnin=1000;
# define the initial seed for random number generator
pset RandomSeed=666;
# define parameters for MCMC
pset MCMCfstatPr=0.25;
pset MCMCfreqPr=100;
pset MCMCmigrPr=100;
pset MCMCdisplay=200;
pset MCMCthin=100;
# interactive prompt
interact;
# run bayesAss analysis of simulated data
#  bayesAss;
# it works!
